package com.fourth.feign;

import com.ljx.entity.EmpInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author Mr.ma
 * @since 2023/2/28 9:41
 **/
@FeignClient("cai-system")
public interface EmpInfoFeign {
    @GetMapping("/system/empInfo/getByName/{ename}")
    EmpInfo getByName(@PathVariable String ename);
}
